#include "base.h"

int strlen(char *str){
	int len;

	if (str == NULL){
		return 0;
	}

	for (len = 0; *(str + len) != 0; len++){
		/* do nothing */
	}

	return len;
}

